home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1997 December / Internet_Info_CD-ROM_Walnut_Creek_December_1997.iso / ietf / urn / urn-archives / urn-ietf.archive.9610 / 000055_owner-urn-ietf _Fri Oct 18 13:50:23 1996.msg < prev    next >
Internet Message Format  |  1997-02-19  |  10KB

  1. Received: (from daemon@localhost) by services.bunyip.com (8.6.10/8.6.9) id NAA22040 for urn-ietf-out; Fri, 18 Oct 1996 13:50:23 -0400
  2. Received: from mocha.bunyip.com (mocha.Bunyip.Com [192.197.208.1]) by services.bunyip.com (8.6.10/8.6.9) with SMTP id NAA22035 for <urn-ietf@services.bunyip.com>; Fri, 18 Oct 1996 13:50:19 -0400
  3. Received: from windrose.omaha.ne.us by mocha.bunyip.com with SMTP (5.65a/IDA-1.4.2b/CC-Guru-2b)
  4.         id AA07976  (mail destined for urn-ietf@services.bunyip.com); Fri, 18 Oct 96 13:49:33 -0400
  5. Message-Id: <9610181749.AA07976@mocha.bunyip.com>
  6. Received: by privateer.windrose.omaha.ne.us; Fri Oct 18 12:49 CDT 1996
  7. From: "Ryan Moats" <jayhawk@ds.internic.net>
  8. To: "URN mailing list" <urn-ietf@bunyip.com>
  9. Cc: "Leslie Daigle" <leslie@bunyip.com>,
  10.         "Michael Mealling" <michaelm@internic.net>,
  11.         "Ron Daniel" <rdaniel@acl.lanl.gov>,
  12.         "Martin J Duerst" <mduerst@ifi.unizh.ch>,
  13.         "Patrik Faltstrom" <paf@swip.net>
  14. Date: Fri, 18 Oct 96 12:52:34 
  15. Priority: Normal
  16. X-Mailer: PMMail 1.52 For OS/2 UNREGISTERED SHAREWARE
  17. Mime-Version: 1.0
  18. Content-Type: text/plain; charset="us-ascii"
  19. Content-Transfer-Encoding: 7bit
  20. Subject: [URN] Pre release of URN Syntax document....
  21. Sender: owner-urn-ietf@services.bunyip.com
  22. Precedence: bulk
  23. Reply-To: "Ryan Moats" <jayhawk@ds.internic.net>
  24. Errors-To: owner-urn-ietf@bunyip.com
  25.  
  26. Well folks, we've reached the point where this is ready for the list
  27. to scream about (semi :-) ).
  28.  
  29. Have at it....
  30.  
  31. Ryan Moats
  32. InterNIC Directory and Database Services
  33. jayhawk@ds.internic.net
  34.  
  35.  
  36. ===================================================
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44. Internet-Draft                                                Ryan Moats
  45. draft-ietf-urn-syntax-00.txt                                        AT&T
  46. Expires in six months                                       October 1996
  47.  
  48.  
  49.                                URN Syntax
  50.                  Filename: draft-ietf-urn-syntax-00.txt
  51.  
  52.  
  53. Status of This Memo
  54.  
  55.       This document is an Internet-Draft.  Internet-Drafts are working
  56.       documents of the Internet Engineering Task Force (IETF), its
  57.       areas, and its working groups.  Note that other groups may also
  58.       distribute working documents as Internet-Drafts.
  59.  
  60.       Internet-Drafts are draft documents valid for a maximum of six
  61.       months and may be updated, replaced, or obsoleted by other
  62.       documents at any time.  It is inappropriate to use Internet-
  63.       Drafts as reference material or to cite them other than as ``work
  64.       in progress.''
  65.  
  66.       To learn the current status of any Internet-Draft, please check
  67.       the ``1id-abstracts.txt'' listing contained in the Internet-
  68.       Drafts Shadow Directories on ftp.is.co.za (Africa), nic.nordu.net
  69.       (Europe), munnari.oz.au (Pacific Rim), ds.internic.net (US East
  70.       Coast), or ftp.isi.edu (US West Coast).
  71.  
  72.  
  73. Abstract
  74.  
  75.    This document presents the syntax for Uniform Resource Names (URNs).
  76.    More information on the purpose of URNs is available from [1].
  77.  
  78. 1. Syntax
  79.  
  80.    All URNs have the following syntax:
  81.  
  82.  
  83.    <URN> ::= ["urn:"] <NID> ":" <NSS>
  84.  
  85.    <NID> is the Namespace IDentifier, and <NSS> is the Namespace
  86.    Specific String.  The Namespace ID is used to determine the
  87.    _syntactic_ interpretation of the Namespace Specific String to the
  88.    extent of extracting the Naming Authority information (as discussed
  89.    in [1]).
  90.  
  91.    RFC 1737 [2] puts additional requirements on URN encoding, which all
  92.  
  93.  
  94.  
  95. Expires 4/97                                                    [Page 1]
  96.  
  97.  
  98.  
  99.  
  100.  
  101. INTERNET DRAFT                 URN Syntax                   October 1996
  102.  
  103.  
  104.    have implications as far as limiting syntax.  On the other hand, the
  105.    requirement to grandfather existing naming systems has the effect of
  106.    broadening syntax.  Thus, we discuss the acceptable syntax for both
  107.    the Namespace Identifier and the Namespace Specific String
  108.    separately.
  109.  
  110. 1.1 Namespace Identifier Syntax
  111.  
  112.    The following is the syntax for the Namespace Identifier. To (a) be
  113.    consistent with all potential resolution schemes and (b) not put any
  114.    undue constraints on any potential resolution scheme, the syntax for
  115.    the Namespace Identifier is:
  116.  
  117.    <NID>         ::= <letter> [ <let-hyp> ]
  118.  
  119.    <let-hyp>     ::= <letter> | "-"
  120.  
  121.    <letter>      ::= any one of the 52 alphabetic characters A through Z
  122.                      in upper case and a through z in lower case
  123.  
  124.    This is slightly more restrictive that what is stated in RFC 1738 [4]
  125.    (which allows the period "."). Further, the Namespace Identifier is
  126.    case insensitive, so that "ISBN" and "isbn" refer to the same
  127.    namespace.
  128.  
  129. 1.2 Namespace Specific String Syntax
  130.  
  131.    Depending on the rules governing a namespace, valid identifiers in a
  132.    namespace might contain characters that are reserved characters in
  133.    URI syntax or non-printable ASCII characters.  To accommodate the
  134.    largest set of valid identifiers, the NSS portion of a URN shall use
  135.    UTF-8 representation of ISO 10646 as its character set.
  136.  
  137.    Clients MUST be capable of %encoding the UTF-8 formatted NSS,
  138.    according the rules in [3] with the following exceptions:
  139.  
  140.       1. [3] states that occurrence of the '/' character in URIs must
  141.       denote hierarchy, so that partial forms of a URI are possible.
  142.       This restriction is unenforceable, and relative URLs do not have a
  143.       scheme prefix, so we allow URNs to contain unescaped occurrences
  144.       of the '/' character that do not denote hierarchy.
  145.  
  146.       2. As an optimization when the transport between systems is known
  147.       to be 8-bit-clean, clients MAY omit the %encoding on 8-bit
  148.       characters but MUST still %encode the reserved characters below.
  149.  
  150.    For historic reasons, the characters "#", "?", "%", "*", "!", "<",
  151.    ">", and '"', are reserved and must be encoded with '%'.  Thus client
  152.  
  153.  
  154.  
  155. Expires 4/97                                                    [Page 2]
  156.  
  157.  
  158.  
  159.  
  160.  
  161. INTERNET DRAFT                 URN Syntax                   October 1996
  162.  
  163.  
  164.    implementers should accept URNs from users in an unencoded form but
  165.    must encode them before sending them to a resolver.
  166.  
  167.    URN resolvers MUST be capable of accepting URNs that have been
  168.    %encoded for either 8-bit clean or 7-bit transports.  %encoding is
  169.    removed first, then UTF-8 decoding is performed.  URN resolvers MUST
  170.    return identical results from ANY legally encoded form of the URN.
  171.  
  172.    It should be noted that certain characters in the Namespace Specific
  173.    String syntax may have special meaning in certain namespaces.
  174.    Therefore, each namespace shall indicate which characters have
  175.    special meaning and how (if possible) to encode those characters if
  176.    used in a literal sense.
  177.  
  178.  
  179. 2. Grand-fathering
  180.  
  181.    To allow for grand-fathering of existing naming systems (as required
  182.    by [2]), the Namespace Specific String shall be considered an "opaque
  183.    string" in the sense of structure except as mentioned in Section 1.
  184.  
  185. 3. Lexical Equivalence
  186.  
  187.    As discussed previously, Namespace Identifiers are to be considered
  188.    case-insensitive. That is, the following two URNs are lexically
  189.    equivalent:
  190.  
  191.            urn:isbn:0-201-10174-2
  192.            urn:ISBN:0-201-10174-2
  193.  
  194.    Lexical equivalence at the client is restricted to unencoding '%'
  195.    sequences, with other comparisons being considered case sensitive.
  196.    That is, the following two URNs are lexically equivalent at a client:
  197.  
  198.            urn:foo:John DeSilva
  199.            urn:foo:John%20DeSilva
  200.  
  201.    but the following two URNs are NOT lexically equivalent at a client:
  202.  
  203.            urn:foo:John%20DeSilva
  204.            urn:foo:John%20deSilva
  205.  
  206.    Lexical equivalence at the server is dependent on the namespace, and
  207.    thus each namespace shall indicate how lexical equivalence may be
  208.    determined by servers for URNs specifying resources in that
  209.    namespace.
  210.  
  211.  
  212.  
  213.  
  214.  
  215. Expires 4/97                                                    [Page 3]
  216.  
  217.  
  218.  
  219.  
  220.  
  221. INTERNET DRAFT                 URN Syntax                   October 1996
  222.  
  223.  
  224. 4. Security considerations
  225.  
  226.    Because of the number of potential namespaces, it must be restated
  227.    that certain of the characters in the Namespace Specific String may
  228.    have special meaning to certain namespace resolvers.  Each namespace
  229.    shall therefore indicate which characters have special meaning and
  230.    how (if possible) to encode those characters if used in a literal
  231.    sense.
  232.  
  233. 5. Acknowledgments
  234.  
  235.    Thanks to various members of the URN working group and <<your name
  236.    here!!>> for comments on earlier drafts of this document.  This work
  237.    was partially supported by the National Science Foundation.
  238.  
  239. 6. References
  240.  
  241.    Request For Comments (RFC) and Internet Draft documents are available
  242.    from <URL:ftp://ftp.internic.net> and numerous mirror sites.
  243.  
  244.          [1]         L. L. Diagle, P. Falstrom, R. Iannella.  "A Frame-
  245.                      work for the Assignment and Resolution of Uniform
  246.                      Resource Names", Internet Draft (work in progress).
  247.                      June 1996.
  248.  
  249.  
  250.          [2]         K. Sollins, L. Masinter.  "Functional Requirements
  251.                      for Uniform Resource Names", RFC 1737.  December
  252.                      1994.
  253.  
  254.  
  255.          [3]         T. Berners-Lee. "Universal Resource Identifiers in
  256.                      WWW", RFC 1630. June 1994.
  257.  
  258.  
  259.          [4]         T. Berners-Lee, L. Masinter, M. McCahill. "Uniform
  260.                      Resource Locators (URL)", RFC 1738.  December 1994.
  261.  
  262. 7. Author's address
  263.  
  264.    Ryan Moats
  265.    AT&T
  266.    15621 Drexel Circle
  267.    Omaha, NE 68135-2358
  268.    USA
  269.  
  270.    Phone:  +1 402 894-9456
  271.    EMail:  jayhawk@ds.internic.net
  272.  
  273.  
  274.  
  275. Expires 4/97                                                    [Page 4]
  276.  
  277.  
  278.  
  279.  
  280.  
  281. INTERNET DRAFT                 URN Syntax                   October 1996
  282.  
  283.  
  284.                 This Internet Draft expires April 1, 1997.
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335. Expires 4/97                                                    [Page 5]
  336.  
  337.  
  338.  
  339.